for i in {0..100}
do  
  openssl rsa -in client$i.pem -pubout -out client$i.pub.pem
done

